package com.pictureBook.merchant.mapper;

import com.pictureBook.merchant.entity.StoreAdmin;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * <p>
 * 后台管理员表 Mapper 接口
 * </p>
 *
 * @author Ding
 * @since 2022-01-06
 */
@Mapper
public interface StoreAdminMapper extends BaseMapper<StoreAdmin> {

    Map<String,Object> login(@Param("username") String username, @Param("password") String password);

    Map<String, Object> getUserInfoById(@Param("uId") Integer uId);

    Map<String, Object> getUserById(@Param("uId") Integer uId);
}
